package com.data
{
	[Bindable]
	public class ScoreFilterData extends FilterData
	{
		
		public var curMin:Number;
		public var curMax:Number;
		
		public function ScoreFilterData(fieldName:String, label:String)
		{
			super(fieldName, 2, label);
		}
		
		public override function isOk(ind:Object):Boolean
		{
			if (selected == false) return true;
			return ind[fieldName] >= curMin && ind[fieldName] <= curMax;	
		}
	}
}